﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ObjectTwo/User.Master" AutoEventWireup="true" CodeBehind="UpdateProfile.aspx.cs" Inherits="ProjectHK3.ObjectTwo.UpdateProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div>       
        <asp:Panel ID="Panel1" runat="server">
            <table style="width:65%;">
                <tr>
                    <td style="height: 85px; text-align: center;" colspan="2"> 
                        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="Bernard MT Condensed" Font-Size="XX-Large" ForeColor="#9966FF" Text="Update Profile"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="height: 41px; width: 340px">
                        <asp:Label ID="Label2" runat="server" Text="UserName :"></asp:Label>
                    </td>
                    <td style="height: 41px; width: 551px;">
                        <asp:TextBox ID="TextBox1" runat="server" BackColor="#CCCCCC" ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="height: 41px; width: 340px">
                        <asp:Label ID="Label3" runat="server" Text="FirstName :"></asp:Label>
                    </td>
                    <td style="height: 41px; width: 551px;">
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox2" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="height: 41px; width: 340px">
                        <asp:Label ID="Label4" runat="server" Text="LastName :"></asp:Label>
                    </td>
                    <td style="height: 41px; width: 551px;"><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox3" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="height: 41px; width: 340px">
                        <asp:Label ID="Label8" runat="server" Text="Avata :"></asp:Label>
                    </td>
                    <td style="height: 41px; width: 551px;">
                        <asp:Image ID="Image18" runat="server" Height="157px" Width="189px" ImageUrl="~/Object One/Pic/Ava/ADMIN.jpg" />
                        <br />
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="326px" />
                    </td>
                </tr>
                <tr>
                    <td style="height: 41px; width: 340px">
                        <asp:Label ID="Label5" runat="server" Text="BirthDay :"></asp:Label>
                    </td>
                    <td style="height: 41px; width: 551px;">
                        <asp:TextBox ID="TextBox7" runat="server" onFocus="showCalendarControl(this);" OnTextChanged="TextBox7_TextChanged"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBox7" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="height: 41px; width: 340px">
                        <asp:Label ID="Label6" runat="server" Text="PhoneNumber:"></asp:Label>
                    </td>
                    <td style="height: 41px; width: 551px;">
                        <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBox5" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="height: 41px; width: 340px">
                        <asp:Label ID="Label7" runat="server" Text="Email :"></asp:Label>
                    </td>
                    <td style="height: 41px; width: 551px;">
                        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TextBox6" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox6" ErrorMessage="Incorrect." ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                
                <tr>
                    <td style="width: 340px">
                        <asp:Label ID="Label10" runat="server" Text="Address :"></asp:Label>
                    </td>
                    <td style="width: 551px">
                        <asp:TextBox ID="TextBox9" runat="server" TextMode="Phone"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TextBox9" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button1" runat="server" Text="Apply" OnClick="Button1_Click" CssClass="button alt"/>
                        <asp:Button ID="Button3" runat="server" Text="Cancel" CausesValidation="False" OnClick="Button3_Click" CssClass="button alt" />
                        <br />
                        <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                    </td>
                </tr>
            </table>
        </asp:Panel>       
    </div>
</asp:Content>
